Skip to main content

boundingBox

Type​

property

Summary​

Specifies the value of the "%%BoundingBox" comment in an imported PostScript file.

Syntax​

set the boundingBox of <EPSObject> to <left>, <top>, <width>, <height>

Description​

Use the boundingBox property to control the appearance of an EPS object.

The %%BoundingBox comment specifies the height, width, and placement on the page of a PostScript file. Use the boundingBox property to find out these properties of the PostScript code in an EPS object, or to set them if the PostScript file did not do so.

The four components of the boundingBox property are equal to the EPS object's xOffset, yOffset, xExtent, and yExtent properties respectively.

This property is supported only on Unix systems with Display PostScript installed.

Examples​

set the boundingBox of EPS 1 to 100,100,500,600

Value​

NameTypeDescription

value

The boundingBox of an EPS object consists of four integers, separated by commas.

function: value

glossary: property, EPS, PostScript, import, comment, appearance, integer

property: postScript, yOffset, yExtent, xExtent, prolog, xOffset, scaleIndependently, properties

Compatibility and Support​

Introduced

LiveCode 1.0

OS

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?